package com;

public class TestDemo1 {
    public static void main(String[] args) {
        TestDemo2 testDemo2 = new TestDemo2();
        System.out.println(testDemo2.a);
        Dog dog =new Dog();
        dog.setAge(10);
        dog.setName("小黄");
        System.out.println(dog.getAge());
        System.out.println(dog.getName());
    }
}
